App({
  onLaunch(options) {
    // 展示本地存储能力
    const res = my.getStorageSync({ key: 'logs' })
    const logs = (res.data as any[]) || []

    logs.unshift(Date.now())
    my.setStorageSync({ key: 'logs', data: logs })
  }
})
